package org.edu.modules.kwgl.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.modules.kwgl.config.ConfigConstant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.edu.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 补考信息
 * @Author: jeecg-boot
 * @Date:   2021-05-11
 * @Version: V1.0
 */
@Data
@TableName("ve_jw_bukao")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="补考信息对象", description="补考信息")
public class VeJwBukao implements Serializable {
    private static final long serialVersionUID = 1L;

	/**自增长主键ID*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "自增长主键ID")
    private Integer id;
	/**补考名称*/
	@Excel(name = "补考名称", width = 15)
    @ApiModelProperty(value = "补考名称")
    private String name;
	/**课程ID*/
	@Excel(name = "课程ID", width = 15)
    @ApiModelProperty(value = "课程ID")
//    @Dict(dictTable = ConfigConstant.dbName+"ve_jw_kecheng",dicText = "KCH",dicCode = "id")
    private Integer kcid;
    @TableField(exist = false)
    private String kcidDictText;
	/**考试方式码*/
	@Excel(name = "考试方式码", width = 15)
    @ApiModelProperty(value = "考试方式码")
//    @Dict(dicCode = "kwgl_exam_way")
    private String ksfsm;
    @TableField(exist = false)
    private String ksfsmDictText;
	/**考试性质码*/
	@Excel(name = "考试性质码", width = 15)
    @ApiModelProperty(value = "考试性质码")
//    @Dict(dicCode = "kwgl_exam_properties")
    private String ksxzm;
    @TableField(exist = false)
    private String ksxzmDictText;
	/**考试形式码（从数据字典中获取Id值）*/
	@Excel(name = "考试形式码（从数据字典中获取Id值）", width = 15)
    @ApiModelProperty(value = "考试形式码（从数据字典中获取Id值）")
//    @Dict(dicCode = "kwgl_exam_form")
    private String ksxsm;
    @TableField(exist = false)
    private String ksxsmDictText;
	/**考试日期时间（原日期时间合并）*/
	@Excel(name = "考试日期时间（原日期时间合并）", width = 15)
    @ApiModelProperty(value = "考试日期时间（原日期时间合并）")
    private String ksrqsj;
	/**考试日期*/
	@Excel(name = "考试日期", width = 15)
    @ApiModelProperty(value = "考试日期")
    private String ksrq;
	/**考试时间段ID*/
	@Excel(name = "考试时间段ID", width = 15)
    @ApiModelProperty(value = "考试时间段ID")
    private Integer kssjdid;
	/**校区ID*/
	@Excel(name = "校区ID", width = 15)
    @ApiModelProperty(value = "校区ID")
//    @Dict(dictTable = "ve_base_campus",dicCode = "id",dicText = "XQMC")
        private Integer campusid;
    @TableField(exist = false)
    private String campusidDictText;
	/**建筑物（教学楼）Id*/
	@Excel(name = "建筑物（教学楼）Id", width = 15)
    @ApiModelProperty(value = "建筑物（教学楼）Id")
//    @Dict(dictTable = "ve_jw_jianzhu",dicCode = "id",dicText = "JZWMC")
    private Integer jzid;
    @TableField(exist = false)
    private String jzidDictText;
	/**考试教室ID*/
	@Excel(name = "考试教室ID", width = 15)
    @ApiModelProperty(value = "考试教室ID")
//    @Dict(dictTable = "ve_jw_jiaoshi",dicCode = "id",dicText = "JSMC")
    private Integer jsid;
    @TableField(exist = false)
    private String jsidDictText;
	/**考试人数*/
	@Excel(name = "考试人数", width = 15)
    @ApiModelProperty(value = "考试人数")
    private Integer number;
	/**发布状态（1=已发布，0=未发布）*/
	@Excel(name = "发布状态（1=已发布，0=未发布）", width = 15)
    @ApiModelProperty(value = "发布状态（1=已发布，0=未发布）")
//    @Dict(dicCode = "kwgl_kaoshi_ispublish")
    private Integer ispublish;
    @TableField(exist = false)
    private String ispublishDictText;
	/**状态（1=启用，0=禁用）*/
	@Excel(name = "状态（1=启用，0=禁用）", width = 15)
    @ApiModelProperty(value = "状态（1=启用，0=禁用）")
//    @Dict(dicCode = "kwgl_kaoshi_status")
    private Integer status;
    @TableField(exist = false)
    private String statusDictText;

	/**创建人ID*/
	@Excel(name = "创建人ID", width = 15)
    @ApiModelProperty(value = "创建人ID")
    private Integer createuserid;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Integer createtime;
	/**终端ID*/
	@Excel(name = "终端ID", width = 15)
    @ApiModelProperty(value = "终端ID")
    private Integer terminalid;
	/**课程名称*/
	@Excel(name = "课程名称", width = 15)
    @ApiModelProperty(value = "课程名称")
    private String kcmc;


    @TableField(exist = false)
    private String jiankao;
    @TableField(exist = false)
    private String jiankaoName;

    @TableField(exist = false)
    private String xunkao;
    @TableField(exist = false)
    private String xunkaoName;

    @TableField(exist = false)
    private String students[];
}
